<?php
require_once('auth_admin.php');
?>
<!DOCTYPE html>
<html>
    <link type="text/css" rel="stylesheet" href="giftgiving.css"/>
    <!-- Uncomment the line below to include javascript in your webpage -->
    <!--<script type="text/javascript" src="giftgiving.js"/>-->
    <style type="text/css">
<!--
.STYLE1 {
	font-size: 18px;
	font-weight: bold;
}
.STYLE2 {font-size: 16px}
.STYLE3 {font-size: 18px}
-->
    </style>
    <head>
        <title>Flora Home Admin</title>
    </head>
    <body>
        <div id="gift-view-id">
            <!-------- Side Bars -------------------------------------------------------------------------->
            <div id="gift-navpane-id" class="gift-navpane">
    			<div id="gift-pets-id" class="gift-types">
                    <a href="cus_home.php" class="STYLE1">Customer Home</a>				</div>
                  <div id="gift-register-id" class="gift-types">  
                    <a href="admin_home.php" class="STYLE1">Admin Home</a>			</div>
                    
        		<div id="gift-register-id" class="gift-types">
                   <a href="admin_reg.php" class="STYLE1">Admin Register</a>    			</div>
                <div id="gift-pets-id" class="gift-types gift-types-selected">
                
                   <a href="admin_Profile.php" class="STYLE1">Admin  Profile</a> 	    </div>
                   <div id="gift-register-id" class="gift-types">
				    <a href="admin_order.php" class="STYLE1">Order Info</a>             </div>
				<div id="gift-register-id" class="gift-types">
				    <a href="admin_customer.php" class="STYLE1">Customer Info</a>             </div>
				<div id="gift-register-id" class="gift-types">
				    <a href="Admin_flower.php" class="STYLE1">Flower Info</a>             </div>
					<div id="gift-register-id" class="gift-types">
				    <a href="FlowersInput.php" class="STYLE1">Add Flower</a>             </div>
				<div id="gift-register-id" class="gift-types">
				    <a href="admin_login.php" class="STYLE1">Logout</a>             </div>
    		</div>
    		<div id="gift-choosepane-id" class="gift-choosepane">
               <!-- Note the onClick handler for this element -->
              <div id="gift-table" onClick="onGiftClick()">
        	   <table>
        			<th colspan="8"><span class="STYLE2">Enter new password</span></th>
        			
					<form action="admin.php" method="post">
					<tr>
        				<td>name:
							<?php
								echo $_SESSION['SESS_FIRST_NAME'];
							?>
						</td>
        			</tr>
        			<tr>
						<td>new password: <input name="new_password" type="text" /></td>
					</tr>
					<tr>
						<td><input type="submit" name="submit" value="change_password"/></td>
					</tr>
					<tr>
						<input type="hidden" name="method" value="change_password"/>
					</tr>
					<tr>
						<input type="hidden" name="name" value = <?php echo $_SESSION['SESS_FIRST_NAME']?>/>
					</tr>
                    </form>
					
        	
        		</table>

            
        </div>
	<div class="footer-container">
            <div class="left">
                <p>Any questions? Let us help you.  Call us: <strong>+65 9861 5555</strong>   &copy; Copyright Flowers Singapore</p>
            </div>
			  </div>
    		</div>
        </div>
    </body>